package com.zzl.bonds.ticket.dto.finance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.bonds.ticket.dto.KeyValue;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 开立或转让签订的协议
 *
 * @author sunpp
 * @date 2022-02-16 11:14:07
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class TicketContractDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.UUID)
    @ApidocModelProperty(description = "主键")
    private String id;
    @ApidocModelProperty(description = "票据id")
    private String ticketId;

    @ApidocModelProperty(description = "合同类别 开单复核：KDFH 转单复核:ZDFH 融资协议签署:RZXYQS")
    private Integer ticketType;
    @ApidocModelProperty(description = "企业id,权限使用")
    private String enterpriseId;
    @ApidocModelProperty(description = "部门id")
    private Integer orgId;
    private String remark;
    @ApidocModelProperty(description = "模板id")
    private Integer  contractTemplateId;
    @ApidocModelProperty(description = "协议名称")
    private String contractName;
    @ApidocModelProperty(description = "协议编号")
    private String contractNo;
    @ApidocModelProperty(description = "合同状态：合同状态\n" +
            "未完成\t0\n" +
            "已完成\t1\n" +
            "已拒绝\t2\n" +
            "正在签署\t3\n" +
            "锁定待签\t4\n" +
            "有争议\t5\n" +
            "已过期\t9\n")
    private Integer contractState;
    @ApidocModelProperty(description = "协议地址,文件id,用于调用cfca接口使用")
    private String fileId;


    @ApidocModelProperty(description = "操作按钮集合")
    private List<KeyValue> operateButton;


}
